package com.asc.service.user.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.asc.service.user.dao.RoleDao;
import com.asc.service.user.entity.RoleEXT;

@Service
public class RoleService {
	
	@Autowired
	private RoleDao roleDao;

	public List<RoleEXT> queryRole(Map<String, Object> requestMap) {
		return roleDao.queryRole(requestMap);
	}

	public int queryRoleCount(Map<String, Object> requestMap) {
		return roleDao.queryRoleCount(requestMap);
	}

	public int deleteRole(Map<String, Object> requestMap) {
		return roleDao.deleteRole(requestMap);
	}

	public int updateRole(Map<String, Object> requestMap) {
		return roleDao.updateRole(requestMap);
	}

	public int saveRole(Map<String, Object> requestMap) {
		return roleDao.saveRole(requestMap);
	}

	public int deleteRoleNavigate(Map<String, Object> requestMap) {
		return roleDao.deleteRoleNavigate(requestMap);
	}

	public int saveRoleNavigate(Map<String, Object> requestMap) {
		return roleDao.saveRoleNavigate(requestMap);
	}

}
